package com.macro.mall.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * 观光车表
 * Created by macro on 2018/4/26.
 */
@Setter
@Getter
public class BmsSightseeingBusPointDetail {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("服务开始时间")
    @JsonFormat(pattern = "HH:mm")
    private String openingTime;

    @ApiModelProperty("服务关闭时间")
    @JsonFormat(pattern = "HH:mm")
    private String closeingTime;

    @ApiModelProperty("班次间隔")
    private Integer shiftInterval;

    @ApiModelProperty("服务热线")
    private String customerService;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("价格简介")
    private String priceSummary;

    @ApiModelProperty("创建人")
    private Long createUser;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("修改人")
    private Long updateUser;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否删除：0-未删除；1-已删除")
    private Boolean isDelete;

    @ApiModelProperty("启用停用：0-启用；1-停用")
    private Integer status;

    private List<BmsSightseeingBusPoint> bmsSightseeingBusPoint;

    private List<BmsSightseeingBusPic> bmsSightseeingBusPic;
    
    @Override
    public String toString() {
        return "BmsSightseeingBus{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", openingTime='" + openingTime + '\'' +
                ", closeingTime='" + closeingTime + '\'' +
                ", shiftInterval=" + shiftInterval +
                ", customerService='" + customerService + '\'' +
                ", description='" + description + '\'' +
                ", priceSummary='" + priceSummary + '\'' +
                ", createUser=" + createUser +
                ", createTime=" + createTime +
                ", updateUser=" + updateUser +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                ", isDelete=" + isDelete +
                ", status=" + status +
                '}';
    }
}
